<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "{{%network_cm}}".
 *
 * @property integer $ad_network_id
 * @property string $mapping_code
 */
class NetworkCm extends \app\models\BaseAR
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%network_cm}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['ad_network_id', 'mapping_code'], 'required'],
            [['ad_network_id'], 'integer'],
            [['mapping_code'], 'string']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'ad_network_id' => 'Ad Network ID',
            'mapping_code' => 'Mapping Code',
        ];
    }
}
